package ahxu.commons.fileupload;

import javax.servlet.http.HttpSession;

public class SessionPullProcessListener extends AbstractAhxuProgressListener {
	private HttpSession session;
	private String threadId;
	public SessionPullProcessListener(ReportItem item,HttpSession session,String threadId) {
		super(item);
		this.session=session;
		this.threadId=threadId;
	}

	@Override
	public void updateDo(ReportItem reportItem) {
		session.setAttribute(threadId, reportItem);
	}

}
